kill docker by image name

53

docker rm $(docker stop $(docker ps -a -q --filter ancestor=<image-name> --format="{{.ID}}"))

Comments

Submit
0 Comments